package cn.com.dcsgo.springboot.demo.service;

import cn.com.dcsgo.springboot.demo.dao.Student;
import cn.com.dcsgo.springboot.demo.dto.StudentDTO;

public interface StudentService {
    StudentDTO getStudentById(long id);

    Long addNewStudent(StudentDTO studentDTO);

    void deleteStudentById(long id);

    StudentDTO updateStudentById(long id, String name, String email);
}
